package com.lyb.services;

import com.github.pagehelper.PageInfo;
import com.lyb.Dto.BookDto;
import com.lyb.pojo.Book;
import com.lyb.pojo.BookCategory;

import java.util.List;

public interface BookService {
    Boolean addBook(BookDto book);
    PageInfo<Book> queryBookPage(Integer pageSize, Integer pageNum);
    Boolean del(Integer id);
    Boolean update(Book book);
    BookCategory findByBookId(Long id);
}
